using UnityEngine;

namespace Code.Utility
{
    public class ColorUtils
    {
        
        public static Color ConvertColorNumber(string hexColorCode)
        {
            Color newColor;
            if (ColorUtility.TryParseHtmlString(hexColorCode, out newColor))
            {
                return  newColor;
            }
            return Color.blue;
        }
    }
}